package game.adm.dao;


import game.adm.dao.dto.BonusDTO;
import game.adm.struts.form.BonusForm;

import java.util.List;

import projectx.core.dao.DataAccessException;

public interface BonusDAO {
	boolean isInitialized()throws DataAccessException;
	boolean initial(BonusForm bonusForm)throws DataAccessException;
	boolean update(BonusForm bonusForm)throws DataAccessException;
	BonusDTO getBonusByID(String id)throws DataAccessException;
	List<BonusDTO> listAdminBonus(BonusForm bonusForm) throws DataAccessException;
	List<BonusDTO> listUserBonus(BonusForm bonusForm) throws DataAccessException;
}